const express = require('express');
const router = express.Router();
const Results = require('../../../mysql/results');

const InfoService = require('./systemInfoService')
/** 
 * 查看系统信息
 */
router.get('/getInfo', async (req, res, next) => {
  res.json(Results.success(await InfoService.getInfo()))
})

module.exports = router